<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>图书管理系统</title>
    <style>
        #photo1{
            position: absolute;
            top: 0px;
            left:0px;
        }
        #f1{
            background-color: rgba(38, 37, 34, 0.747);
            border-radius: 4px;
            position: absolute;
            top: 0px;
            left:0px;
            width: 1450px;;
            height: 720px;;
        }
        #line{
            background-color: rgba(230, 159, 6, 0.851);
            position: absolute;
            top: 100px;
            left:0px;
            width: 1450px;;
            height: 2px;;
        }
        button[name="first"]{
            appearance: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0);
            border: 0;
            color: rgba(240, 248, 255, 0.908);
            top: 65px;
            left:780px;
            font-size: 30px;
        }
        button[name="select"]{
            appearance: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0);
            border: 0;
            color: rgba(240, 248, 255, 0.908);
            top: 65px;
            left:900px;
            font-size: 30px;
        }
        button[name="borrow"]{
            appearance: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0);
            border: 0;
            color: rgba(240, 248, 255, 0.908);
            top: 65px;
            left:1020px;
            font-size: 30px;
        }
        button[name="return"]{
            appearance: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0);
            border: 0;
            color: rgba(240, 248, 255, 0.908);
            top: 65px;
            left:1140px;
            font-size: 30px;
        }
        button[name="login"]{
            appearance: none;
            position: absolute;
            background-color: rgba(255, 255, 255, 0);
            border: 0;
            color: rgba(240, 248, 255, 0.908);
            top: 65px;
            left:1260px;
            font-size: 30px;
        }
        .photos {
            position: absolute;
            width: 500px;
            height: 600px;
        }
        #r{
            position: absolute;
            width: 500px;
            height: 600px;
            left: 400px;
            top: 100px;
        }
        #b{
            position: absolute;
            width: 500px;
            height: 600px;
            left: 400px;
            top: 100px;
        }
        #c{
            position: absolute;
            width: 500px;
            height: 600px;
            left: 400px;
            top: 100px;
        }

        img {
            width: 100%;
            height: 100%;
        }

    </style>
</head>
<body>
<p id="photo1"><img src="https://zs.stu.edu.cn/images/21/06/11/1vtx9km97b/_K012215.jpg" width="1450" height="720"/></p >
<p id="f1"></p>
<p id="line"></p>
<button onclick="window.location.href='success.html'" type="button" name="first">首页</button>
<button onclick="window.location.href='a.html'" type="button" name="select">查询</button>
<button onclick="window.location.href='a.html'" type="button" name="borrow">借阅</button>
<button onclick="window.location.href='a.html'" type="button" name="return">归还</button>
<button onclick="window.location.href='a.html'" type="button" name="login">登录</button>
<div class="photos">
    <p id="r"><img src="r.jpg"></p>
    <p id="c"><img src="c.jpg"></p>
    <p id="b"><img src="b.jpg"></p>
</div>

<script>let images = document.querySelectorAll('.photos img');
let currentImage = 0;
function nextImage() {
    images[currentImage].style.opacity = 0;
    currentImage = (currentImage + 1) % images.length;
    images[currentImage].style.opacity = 1;
}
setInterval(nextImage, 3000);
</script>

</body>
</html>